package com.fiona.remoting.api;

import java.net.InetSocketAddress;

import com.fiona.annotation.FionaSPI;
import com.fiona.common.exception.RemotingException;

@FionaSPI
public interface Transporter {

	Server bind(InetSocketAddress address) throws RemotingException;
	
	Client connect(InetSocketAddress address) throws RemotingException;
}
